
#pragma once

class CAxialView;
class CCoronalView;

class CMprView;
class CSagittalView;

//#include "MySplitterWnd.h"
#include "DialogMain.h"
class CMainFrame : public CFrameWnd
{
	
protected: // create from serialization only
	CMainFrame();
	DECLARE_DYNCREATE(CMainFrame)

// Attributes
protected:
	CSplitterWnd m_wndSplitter;
public:
	CWnd* GetSplitterWnd(void);
// Operations
public:

// Overrides
public:
	virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);

// Implementation
public:
	virtual ~CMainFrame();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:  // control bar embedded members
	CStatusBar		m_wndStatusBar;
	CToolBar		m_wndToolBar;
	CReBar			m_wndReBar;
	CDialogMain		*m_pDialogMain;
	
	CAxialView*	    m_pWndAxial;
	CCoronalView*	m_pWndCoronal;
	CSagittalView*  m_pWndSagittal;
	CMprView*		m_pWndMip;

	bool		bSplitter;

	// Generated message map functions
protected:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void  OnSize(UINT nType, int cx, int cy);
	afx_msg BOOL OnEraseBkgnd(CDC*pDC);

	DECLARE_MESSAGE_MAP()
};


//#endif